<template>
  <div>
    <div class="block">
      <el-table
      :data="paging.tableData"
      style="width: 100%">
      <el-table-column
        prop="date"
        label="日期"
        >
      </el-table-column>
      <el-table-column
        prop="name"
        label="姓名"
       >
      </el-table-column>
      <el-table-column
        prop="address"
        label="地址">
      </el-table-column>
    </el-table>
    
      <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :page-sizes="[10, 20, 30, 40]"
        :current-page="paging.pageIndex"
        :page-size="paging.pageSize"
        :total="paging.total"
        layout="total, sizes, prev, pager, next, jumper"
        background
      >
      </el-pagination>
    </div>
  </div>
</template>

<script>
import mixin from './minx.js'
export default {
  name: "home",
  mixins: [mixin], // 注册即使用
  data() {
    return {
     
    };
  },
  methods: {
    
  },
};
</script>

